package com.programmingeyeclient.user.entity;

import java.io.Serializable;

/**
 * (CmsComment)实体类
 *
 * @author makejava
 * @since 2023-05-23 08:51:45
 */
public class CmsComment implements Serializable {
    private static final long serialVersionUID = -84868001853768073L;
    /**
     * 评论表
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 父级评论id(为0则是一级评论,不为0则是回复)
     */
    private Integer parentId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 创建时间
     */
    private String addtime;
    /**
     * 评论的相关id
     */
    private Integer otherId;
    /**
     * 点赞数量
     */
    private Integer praiseCount;
    /**
     * 回复数量
     */
    private Integer replyCount;
    /**
     * 1文章 2课程 3直播 4播放大厅章节评论 5即时聊天(Socket) 7试卷 8练习题库 9闯关 10考试套餐 11班级
     */
    private Integer type;
    
    private Object roletype;
    /**
     * 评分
     */
    private Integer commentscore;
    /**
     * 排序
     */
    private Long commentsort;
    /**
     * 是否置顶，0不置顶，1置顶
     */
    private Integer commenttop;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public Integer getOtherId() {
        return otherId;
    }

    public void setOtherId(Integer otherId) {
        this.otherId = otherId;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Object getRoletype() {
        return roletype;
    }

    public void setRoletype(Object roletype) {
        this.roletype = roletype;
    }

    public Integer getCommentscore() {
        return commentscore;
    }

    public void setCommentscore(Integer commentscore) {
        this.commentscore = commentscore;
    }

    public Long getCommentsort() {
        return commentsort;
    }

    public void setCommentsort(Long commentsort) {
        this.commentsort = commentsort;
    }

    public Integer getCommenttop() {
        return commenttop;
    }

    public void setCommenttop(Integer commenttop) {
        this.commenttop = commenttop;
    }

}

